<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html" xmlns:th="http://www.thymeleaf.org">
<head th:replace="/navbar::header(用户信息)">
</head>
<body>
<!--导航-->
<nav th:replace="/navbar::naver"></nav>
<!--内容-->
<div class="hdd" style="margin-bottom: 7%">
    <ul class="nav navbar-nav mr-auto mt-2 mt-lg-0">
        <li style="background-color:#00acee "><a class="a" style="color: #000000" th:href="@{/user/control}">用户信息页</a></li>
        <li><a class="a" style="color: #000000" th:href="@{/user/control1}">订单</a></li>
        <li><a class="a" style="color: #000000" th:href="@{/user/control2}">修改</a></li>
    </ul>
</div>
<div class="hdd1">
    用户信息
    <br>
    <br>
<table class="table table-bordered" style="width: 95%;height: 90%">
    <tbody>
    <tr th:each="user:${page.getRecords()}">
        <td>用户名</td>
        <td th:text="${user.UName}"></td>
    </tr>
    <tr th:each="user:${page.getRecords()}">
        <td>用户ID</td>
        <td th:text="${user.UId}"></td>
    </tr>
    <tr th:each="user:${page.getRecords()}">
        <td>电话号码</td>
        <td th:text="${user.number}"></td>
    </tr>
    <tr th:each="user:${page.getRecords()}">
        <td>性别</td>
        <td th:text="${user.gender}"></td>
    </tr>
    </tbody>
</table>
</div>
<br>
<!--页尾-->
<footer th:replace="/navbar::footer"></footer>
</body>
</html>